package com.ruoyi.common.core.redis;

/**
 * redis锁key工具类
 *
 * @author wangzhaoqiang
 * @version 1.0
 * @date 2022/10/19 14:32
 */
public class RedisLockKey
{
    /**
     * 降价补偿应收编号生成时的锁Key
     *
     * @param lockKey LockKey
     * @return 存入redis中key
     */
    public static String getReducePriceCompensationReceivableNumberGenerateLockKey(String lockKey)
    {
        return "redis_lock:reduce_price_compensation_receivable_number_generate:" + lockKey;
    }

    /**
     * 降价补偿应收余额变动时的锁Key
     *
     * @param lockKey LockKey
     * @return 存入redis中key
     */
    public static String getReducePriceCompensationReceivableBalanceChangeLockKey(String lockKey)
    {
        return "redis_lock:reduce_price_compensation_receivable_balance_change:" + lockKey;
    }
}
